enum gemType{force,magic,psych};
enum gemElement{light,fire,water,air,earth,ice,elec,dark};

#ifndef GEM_H_
#define GEM_H_

class gem
{
  private:
    
  public:
  int rarity;
  gemType type;
  string name;
  string attackName;
  int power;
  int defense;
  int maxDurability;
  int currentDurability;
  gemElement element; 
  
  gem();
  gem(string nname, string nattackname, gemType ntype, int npower, int ndefense, int ndurability, gemElement nelement, int nrarity);
  void setGem(string nname, string nattackname, gemType ntype, int npower, int ndefense, int ndurability, gemElement nelement, int nrarity);
  
  
};
#endif
void breakGem(gem &target);
void gemCopy(gem source, gem &dest);
void gemDBInit();
void arrangePlayerGems();
